package io.renren.modules.feedback.entity;

import io.renren.common.validator.group.AddGroup;
import io.renren.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author »ÆÇå
 * @email 
 * @date 2018-10-23 12:42:34
 */
public class FeedbackinfosEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//反馈id
	private String feedbackinfoid;
	//用户id
	@NotBlank(message="用户不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String feedbackuser;
	//反馈内容
	@NotBlank(message="反馈内容不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String contexts;
	//创建时间
	private Date createtime;
	//处理人
	private Long dealuser;
	//处理时间
	private Date auditdate;
	//反馈回复内容
	private String dealcontexts;
	//是否解决
	@NotNull(message="审核状态不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer auditstatus;
	//反馈类型
	@NotNull(message="反馈类型不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private Integer feedbacktype;
	//目标id
	private String targetid;
	//反馈信息是否已读
	private Integer isread;
	/**
	 * 设置：反馈id
	 */
	public void setFeedbackinfoid(String feedbackinfoid) {
		this.feedbackinfoid = feedbackinfoid;
	}
	/**
	 * 获取：反馈id
	 */
	public String getFeedbackinfoid() {
		return feedbackinfoid;
	}
	/**
	 * 设置：用户id
	 */
	public void setFeedbackuser(String feedbackuser) {
		this.feedbackuser = feedbackuser;
	}
	/**
	 * 获取：用户id
	 */
	public String getFeedbackuser() {
		return feedbackuser;
	}
	/**
	 * 设置：反馈内容
	 */
	public void setContexts(String contexts) {
		this.contexts = contexts;
	}
	/**
	 * 获取：反馈内容
	 */
	public String getContexts() {
		return contexts;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：处理人
	 */
	public void setDealuser(Long dealuser) {
		this.dealuser = dealuser;
	}
	/**
	 * 获取：处理人
	 */
	public Long getDealuser() {
		return dealuser;
	}
	/**
	 * 设置：处理时间
	 */
	public void setAuditdate(Date auditdate) {
		this.auditdate = auditdate;
	}
	/**
	 * 获取：处理时间
	 */
	public Date getAuditdate() {
		return auditdate;
	}
	/**
	 * 设置：反馈回复内容
	 */
	public void setDealcontexts(String dealcontexts) {
		this.dealcontexts = dealcontexts;
	}
	/**
	 * 获取：反馈回复内容
	 */
	public String getDealcontexts() {
		return dealcontexts;
	}
	/**
	 * 设置：是否解决
	 */
	public void setAuditstatus(Integer auditstatus) {
		this.auditstatus = auditstatus;
	}
	/**
	 * 获取：是否解决
	 */
	public Integer getAuditstatus() {
		return auditstatus;
	}
	/**
	 * 设置：反馈类型
	 */
	public void setFeedbacktype(Integer feedbacktype) {
		this.feedbacktype = feedbacktype;
	}
	/**
	 * 获取：反馈类型
	 */
	public Integer getFeedbacktype() {
		return feedbacktype;
	}
	/**
	 * 设置：目标id
	 */
	public void setTargetid(String targetid) {
		this.targetid = targetid;
	}
	/**
	 * 获取：目标id
	 */
	public String getTargetid() {
		return targetid;
	}

	public Integer getIsread() {
		return isread;
	}

	public void setIsread(Integer isread) {
		this.isread = isread;
	}
}
